package com.fuyv.action;

import com.fuyv.model.Permission;
import com.fuyv.dao.PermissionDao;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;

public class PermissionAction extends ActionSupport implements ModelDriven<Permission>{


	private static final long serialVersionUID = 8757171535488890373L;
	private Permission permission = new Permission(); 
	private PermissionDao permissionDao;
	
	public PermissionDao getPermissionDao() {
		return permissionDao;
	}
	public void setPermissionDao(PermissionDao permissionDao) {
		this.permissionDao = permissionDao;
	}



	@Override
	public Permission getModel() {
		return permission;
	}

}
